package org.apache.commons.lang;

public class ObjectUtils {

	public static void identityToString(StringBuffer buffer, Object object) {
		if (object == null) {
			throw new NullPointerException("Cannot get the toString of a null identity");
		}
		buffer.append(object.getClass().getName()).append('@').append(Integer.toHexString(System.identityHashCode(object)));
	}

}
